package com.qcby.hengxiang.learn.java;

import com.qcby.hengxiang.learn.controller.LearnController;
import org.apache.catalina.startup.UserConfig;

import java.util.*;

public class Main {
    public static void main(String[] args) {

        int [] a = new int [20];//
        LearnController [] learnControllers = new LearnController[10];
        for (int i = 0; i < a.length; i++) {

        }
        for (int i : a) {

        }
        List<String > list  = new ArrayList<String>();
        for (int i = 0; i < 2000; i++) {
            list.add("");
        }
        List<String > list2 = new LinkedList<>();
      ;
        Set<String> set = new HashSet<>();
        set.add("sdf");
        set.add("sdf");
        set.add("sdf");
        set.add("sdf");
        set.add("sdf");
        System.out.println(set);
        System.out.println(set.size());
        Set<Integer> set2 = new TreeSet<>();
        for (int i = 10; i > 0; i--) {
            set2.add(i);
        }
        set2.contains(10);
        System.out.println(set2);

        Map<String, Integer> map = new HashMap<>();
        map.put("abc",19);
        Integer abc = map.get("abc");
        System.out.println(abc);

    }
}

